package dr.joketalker.entity;

public class JokeEvaluation extends Entity{

	private static final long serialVersionUID = -8328014500742762859L;


	
	protected User user;
	protected Joke joke;
	protected float points = 0;
	protected String comment = "";
	
	
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public float getPoints() {
		return points;
	}
	public void setPoints(float points) {
		this.points = points;
	}
	
	@Override
	protected void clear() {
		super.clear();
		
		user = new User();
		points = 0;
	}
	public Joke getJoke() {
		return joke;
	}
	public void setJoke(Joke joke) {
		this.joke = joke;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	
}
